package com.zzyl.service;

import com.zzyl.base.PageResponse;
import com.zzyl.base.ResponseResult;
import com.zzyl.dto.NursingPlanDto;
import com.zzyl.vo.NursingPlanVo;
import org.springframework.web.bind.annotation.RequestParam;

import java.util.List;

public interface NursingPlanService {
    /**
     * 2.1 查询所有护理计划
     *
     */
    List<NursingPlanVo> getPlanAll();

    /**
     * 新增护理计划
     *
     */
    void addPlan(NursingPlanDto nursingPlanDto);

    /**
     * 条件分页查询
     *
     */
    PageResponse selectPage(String name,Integer pageNum,Integer pageSize, Integer status);

    /**
     * 根据id查询
     */
    NursingPlanVo getByiD(Long id);

    /**
     * 修改计划
     *
     */
    void update(NursingPlanDto nursingPlanDto);

    /**
     * 删除计划
     */
    void deleteById(Long id);

    void updateStatus(Long id,Integer status);
}
